package com.caipiao.mapper;

import com.caipiao.pojo.SBank;

import java.util.List;

public interface SBankMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SBank record);

    int insertSelective(SBank record);

    SBank selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SBank record);

    int updateByPrimaryKey(SBank record);

    SBank selectBytitle(String title);
    //银行卡列表
    List<SBank> selectBankList();
    //用户银行卡
    SBank selectUserBank(Integer userId);

}